/*
 * Niiuzu
 * Copyright (C) 2011  Thierry Nowak
 * 
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along with
 * this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.niiuzu.server.dao.impl.dto.object;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.googlecode.objectify.annotation.Unindexed;
import com.niiuzu.shared.model.FeedStyle;

/**
 * DTO - Données persistantes d'un thème.
 */
@Entity(name = "FeedChannelGroup")
@Unindexed
public class DtoFeedChannelGroup implements DtoObject {

	@Id
	private Long id;
	private String name;
	private FeedStyle style;

	/**
	 * Construit une nouvelle instance de {@link DtoFeedChannelGroup}.
	 */
	public DtoFeedChannelGroup() {

	}

	/**
	 * Identifiant du thème.
	 */
	public Long getId() {
		return id;
	}

	/**
	 * Définit l'identifiant du thème.
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * Nom du thème.
	 */
	public String getName() {
		return name;
	}

	/**
	 * Définit le nom du thème.
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Style appliqué au thème.
	 */
	public FeedStyle getStyle() {
		return style;
	}

	/**
	 * Définit le style appliqué au thème.
	 */
	public void setStyle(FeedStyle style) {
		this.style = style;
	}

}
